package pers.cz.easyexcel;

import pers.cz.common.annotation.Column;
import pers.cz.common.annotation.Table;
import pers.cz.common.pub.AbstractEntity;
import pers.cz.common.pub.Field;

/**
 * @program: Jef-orm
 * @description: 测试实体类
 * @author: Cheng Zhi
 * @create: 2023-09-08 10:45
 **/
@Table(sheetName = "学生信息")
public class StudentInfo extends AbstractEntity {

    @Column(excelColumn = "编号")
    private int id;

    @Column(excelColumn = "姓名")
    private String name;

    @Column(excelColumn = "学校")
    private String school;

    @Column(excelColumn = "住址")
    private String home;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public enum Field implements pers.cz.common.pub.Field {
        id,name,school,home;
    }
}
